package com.zhiyou.app.shop.website.dao.pojo;

/**
 * StockType entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class StockType implements java.io.Serializable {

	// Fields

	private Integer id;
	private String type; //只可以取值为A\B\C C在一定时间后自动卖出，直接交易
	private Long total;
	private Integer round;
	private Float curPrice;
	private String attr1;//交易状态1正在交易，0已结束
	private String attr2;
	private String attr3;
	private String attr4;
	private String attr5;

	// Constructors

	/** default constructor */
	public StockType() {
	}

	/** full constructor */
	public StockType(String type, Long total, Integer round, Float curPrice,
			String attr1, String attr2, String attr3, String attr4, String attr5) {
		this.type = type;
		this.total = total;
		this.round = round;
		this.curPrice = curPrice;
		this.attr1 = attr1;
		this.attr2 = attr2;
		this.attr3 = attr3;
		this.attr4 = attr4;
		this.attr5 = attr5;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getTotal() {
		return this.total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Integer getRound() {
		return this.round;
	}

	public void setRound(Integer round) {
		this.round = round;
	}

	public Float getCurPrice() {
		return this.curPrice;
	}

	public void setCurPrice(Float curPrice) {
		this.curPrice = curPrice;
	}

	public String getAttr1() {
		return this.attr1;
	}

	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

	public String getAttr2() {
		return this.attr2;
	}

	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}

	public String getAttr3() {
		return this.attr3;
	}

	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}

	public String getAttr4() {
		return this.attr4;
	}

	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}

	public String getAttr5() {
		return this.attr5;
	}

	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}

}